<p>
  <strong>Label: </strong><%= diagnosis.label %></br>
  <strong>Diagnosis group: </strong><%= diagnosis.diagnosis_group.label %></br>
  <%= link_to 'Edit', edit_appointment_diagnosis_path(:id => diagnosis, :appointment_id => params[:id]) %> | 
  <%= link_to 'Destroy',appointment_diagnosis_path(:id => diagnosis, :appointment_id => params[:id]), method: :delete, data: { confirm: 'Are you sure?' }%>
</p>